package com.yonyou.iuap.shell.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yonyou.iuap.base.dao.IKmBaseDao;
import com.yonyou.iuap.persistence.mybatis.anotation.MyBatisRepository;
import com.yonyou.iuap.shell.entity.exp.KmSettingQueryPoJo;
import com.yonyou.iuap.shell.entity.exp.UserIndustryPojo;
import com.yonyou.iuap.shell.pub.IShellDaoEnum;


/**
 * 
 * KmSettingEntityDao数据库操作接口类
 * 
 **/
@MyBatisRepository
@Repository(value=IShellDaoEnum.Shell_Dao_Setting)
public interface KmSettingEntityDao<T> extends IKmBaseDao<T>{
	/**
	 * 根据用户PK查询APP设置的行业和设备信息
	 * @param pk_user
	 * @return
	 */
	public List<KmSettingQueryPoJo> querySettingByUser(String pk_user);
	/**
	 * 根据用户查询所有行业信息
	 * @param pk_user
	 * @return
	 */
	public List<UserIndustryPojo> queryAllIndustryByUser(String pk_user);
}